package com.example.bank.service.image;

import java.util.List;
import java.util.Map;

/**
 * @author ：Leeziqiang
 * @description：TODO
 * @date ：2021/12/18 20:23
 */
public interface ImageService {

    boolean addImage(String clientIdNumber,String name, String path, String type);

    Map<String, List<String>> listImages(String clientIdNumber) throws Exception;

    Map<String, List<String>> listNames(String clientIdNumber) throws Exception;

    // 根据身份证号码删除照片
    List<String> listByNumber(String number);

    // 根据网路资源路径删除图片
    boolean deleteByPath(String path);

}
